#根据文件目录创建文件夹

import os 

data=''
with open ('文件目录.txt','r',encoding='utf-8') as f:
    data=f.readlines()

dirList=[]
for item in data:
    if(item.find('.')==-1 and item not in dirList):
        dirList.append('./element ui/'+item.strip())

for item in dirList:
    if(not os.path.exists(item)):
        #可夸层级创建
        os.makedirs(item)
    print(item)